package org.example.winter.bean;

import org.example.winter.BeanNameAware;
import org.example.winter.Component;

/**
 * @author YHG
 * @date 2020/8/24 18:20
 */
@Component
public class TestBeanNameBean implements BeanNameAware {

    private String beanName;

    @Override
    public void setBeanName(String beanName) {
        this.beanName = beanName;
    }

    public String getBeanName() {
        return beanName;
    }

}
